import React from 'react';
import styles from './index.module.scss';
import logo from '@/assets/imgs/logo.png';
import { useNavigate } from 'react-router-dom';
import Search from '@base/components/Search';

const Header: React.FC = (props) => {
    const nav = useNavigate();

    return (
        <div className={styles.container}>
            <img className={styles.logo} src={logo} onClick={() => nav('/')} />
            <div className={styles.search}><Search/></div>
            <div>主题</div>
            <div>我的</div>
        </div>
    );
};

export default Header;
